package com.mingqijia.gassafety.webserver.request.inner;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author guoliang.lao
 * @version 1.0.0
 * @ClassName WiftBindRequest.java
 * @Description 紫荆WiFi报警器-创建并绑定设备和客户
 * @createTime 2023年03月20日
 */
@Data
public class ZJCreateBindRequest {

    @ApiModelProperty(value = "客户名字")
    private String name;

    @ApiModelProperty(value = "VCC用户ID")
    private String memberId;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

//    @ApiModelProperty(value = "所属行业 -字典名称Industry_type")
//    private String industryType = "resident";

//    @ApiModelProperty(value = "地址(详细)")
//    private String address = "";

    @ApiModelProperty(value = "经度")
    private Double positionLon;

    @ApiModelProperty(value = "纬度")
    private Double positionLat;

    @NotBlank(message = "设备号不能为空")
    @ApiModelProperty("设备号")
    private String imei;

//    @ApiModelProperty("设备厂商 01:本安(默认) 02:鑫豪斯 03:汉威 04:费加罗 05:济南长清 07:北晨 08:安可信 09:上海翼捷 10:四方光电")
//    private String equipmentManufacturer = "01";

//    @ApiModelProperty("设备类型 Gas_alarm_controller:气体报警控制器 Independent_gas_detector:独立式可燃气体探测器 Point_type_gas_detector:点型可燃气体探测器 home_gas_detector:家用燃气报警器")
//    private String equipmentType = "home_gas_detector";

//    @ApiModelProperty("设备型号")
//    private String equipmentModel = "JT-BJ02Di";
    //检测类型
//    @ApiModelProperty("检测类型")
//    private String detectionType = "CH₄";

    //通讯方式
//    @ApiModelProperty("通讯方式")
//    private String communicationMode = "wifi";

//    @ApiModelProperty("协议")
//    private String protocolVersion = "v2.0";

//    @ApiModelProperty("紫荆设备编号")
//    private String deviceNo = "BA-BJ02Di";

    @ApiModelProperty("联机码")
    private String onlineCode;

    @ApiModelProperty("接收器编号")
    private String receiverCode;

    @ApiModelProperty("spId")
    private String spId;

    /**
     * 紫荆wifi 设备映射企业内容
     */
    private String dtuRemark;
}